package com.yyge.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yyge.controller.front.merchandiser.req.MerchandiserReq;
import com.yyge.controller.front.merchandiser.resp.MerchandiserResp;
import com.yyge.entity.Merchandiser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Administrator
* @description 针对表【merchandiser(商家信息)】的数据库操作Mapper
* @createDate 2023-07-02 20:36:22
* @Entity com.yyge.entity.Merchandiser
*/
@Mapper
public interface MerchandiserMapper extends BaseMapper<Merchandiser> {

    List<MerchandiserResp> frontSearch(@Param(value = "req") MerchandiserReq req);

    MerchandiserResp findById(@Param("req") MerchandiserReq req);
}





